package com.zhentao.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhentao.entity.order.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author Lenovo
* @description 针对表【order_info(订单)】的数据库操作Mapper
* @createDate 2024-09-06 10:24:16
* @Entity com.zhentao.pojo.OrderInfo
*/
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {

    void save(OrderInfo orderInfo);

    Page<OrderInfo> findUserPage(@Param("page1") Page<OrderInfo> page1,@Param("userId") Long userId, @Param("orderStatus")Integer orderStatus);

}




